import Vuex from 'vuex';
import Vue from 'vue';
import layout from './modules/layout';
import user from './modules/user';
import permission from './modules/permission';

Vue.use(Vuex);
const store = new Vuex.Store({
  modules: {
    layout,
    user,
    permission,
  },
});

export default store;
